package com.zzy.system.domain;

import com.alibaba.fastjson2.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.zzy.common.core.domain.BaseEntity;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

/**
 * 订单司机信息
 */
@Data
public class SaleOrderSupplier extends BaseEntity {
    //主键 自增
    @TableId(type = IdType.AUTO)
    private Integer SaleOrderSupplierId;
    private static final long serialVersionUID = 1L;
    // 供应商id
    @JSONField(name = "supplier_id")
    private String supplierId;

    private String orderId;
    private String detailId;
    // 供应商名
    @JSONField(name = "supplier_name")
    private String supplierName;

    // 供应商编号
    @JSONField(name = "supplier_no")
    private String supplierNo;
    // 供应商电话
    @JSONField(name = "supplier_phone")
    private String supplierPhone;
    // 修改时间
    @JSONField(name = "modify_time")
    private LocalDateTime guanmaiModifyTime;
    //供应商检测报告地址
    @TableField(exist = false)
    @JSONField(name = "qualification_images")
    private List<String> qualificationImages;

    private String supplierImages;
}